-- GENERATED SPELL FOR [Splinterbone Warrior] --


function spell0_7344(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(11971,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7344', 30277, 1)
end

function Sorts_7344(pUnit, Event)
local choix_sorts_7344 = math.random(0, 0)
if choix_sorts_7344 == 0 then
pUnit:RegisterEvent('spell0_7344', 1, 1)
end
end

function mob7344_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7344', math.random(1500, 3000), 1)
end

function mob7344_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7344_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7344_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7344, 1, 'mob7344_Action')
RegisterUnitEvent(7344, 2, 'mob7344_Leave')
RegisterUnitEvent(7344, 3, 'mob7344_Kill')
RegisterUnitEvent(7344, 4, 'mob7344_Die')
